$(document).ready(function(){
    $.ajax({
        type:'get',
        dataType:'json',
        url:path+'/article/list',
        contentType:"application/json;charset=utf-8",
        data:{page:1,rows:16},
        success:function(data){
            if(data.code==0){
                var bt=baidu.template;
                var b=eval(data);
                console.log(b.value.length);
                var html=bt('productScript',data);
                $('#productData').html(html)
            }
        }
    });
});